package com.example.pomelo_home.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity(name="appuser")
public class User {
    @Id
    private String openid;
    private String nickname;
    private String avatarUrl;
    private Date createdAt;
    private Date updatedAt;
}
